package com.zygh.questionnairesurvey.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 个人问题详情描述(ProblemDetails)实体类
 *
 * @author ID-Tang
 * @since 2021-05-11 13:47:31
 */
@Data
public class ProblemDetailsVO implements Serializable {
    private static final long serialVersionUID = 624613777974905100L;

    @ApiModelProperty(value = "${column.comment}")
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 个人问题详情描述
     */
    @ApiModelProperty(value = "个人问题详情描述")
    private String details;
    /**
     * 警号
     */
    @ApiModelProperty(value = "警号")
    private String warningsignal;
    /**
     * 问题id
     */
    @ApiModelProperty(value = "问题id", example = "0")
    private Integer problemId;

    @ApiModelProperty(value = "部门名称")
    @TableField(exist = false)
    private String deptName;

    @ApiModelProperty(value = "用户名字")
    @TableField(exist = false)
    private String name;

    @ApiModelProperty(value = "部门id")
    @TableField(exist = false)
    private Integer deptId;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


}
